package org.comple.erp.pojo.procurement;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 
 * @TableName procurement_inquiry_main
 */
@Getter
@Setter
@EqualsAndHashCode
@ContentRowHeight(15)
@HeadRowHeight(20)
@ColumnWidth(25)
public class ProcurementInquiryMain implements Serializable {
    /**
     * 
     */
    @ExcelProperty("询价主表主键")
    private String inquiry_id;

    /**
     * 
     */
    @ExcelProperty("询价主表编号")
    private String inquiry_code;

    /**
     * 
     */
    @ExcelIgnore
    private String buyer_code;


    @ExcelProperty("询价人")
    private String buyer_name;

    /**
     * 
     */
    @ExcelProperty("询价供应商编号")
    private String supplier_code;

    /**
     * 
     */
    @ExcelProperty("供应商名称")
    private String inquiry_supplier;

    /**
     * 
     */
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    @ColumnWidth(50)
    @ExcelProperty("询价开始时间")
    private Date inquiry_startDate;

    /**
     * 
     */
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    @ColumnWidth(50)
    @ExcelProperty("询价结束时间")
    private Date inquiry_deadline;

    /**
     * 
     */
    @ExcelProperty("备注")
    private String remark;

    /**
     * 
     */
    @ExcelProperty("公司编码")
    private String companyCode;

    @ExcelIgnore
    private Date audit_date;

    /**
     * 
     */
    @ColumnWidth(80)
    @ExcelProperty("是否删除 0-未删除 1-已删除")
    private Integer isDelete;

    @ExcelIgnore
    private List<ProcurementInquiryDetail> inquiryDetailList;

    @ColumnWidth(80)
    @ExcelProperty("询价状态 1-已保存 2-待审核 3-已审核 4-已驳回")
    private Integer inquiry_status;

    @ExcelProperty("审核人")
    private String checkMan;

    @ExcelIgnore
    private String gateWay;

    @ExcelProperty("打印次数")
    private Integer printNum;

    @ExcelProperty("有效期 1-未过期 2-已过期")
    private Integer date_status;



    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public String getInquiry_id() {
        return inquiry_id;
    }

    /**
     * 
     */
    public void setInquiry_id(String inquiry_id) {
        this.inquiry_id = inquiry_id;
    }

    /**
     * 
     */
    public String getInquiry_code() {
        return inquiry_code;
    }

    /**
     * 
     */
    public void setInquiry_code(String inquiry_code) {
        this.inquiry_code = inquiry_code;
    }

    public Date getAudit_date() {
        return audit_date;
    }

    public void setAudit_date(Date audit_date) {
        this.audit_date = audit_date;
    }

    /**
     * 
     */
    public String getBuyer_code() {
        return buyer_code;
    }

    /**
     * 
     */
    public void setBuyer_code(String buyer_code) {
        this.buyer_code = buyer_code;
    }

    public String getBuyer_name() {
        return buyer_name;
    }

    public void setBuyer_name(String buyer_name) {
        this.buyer_name = buyer_name;
    }

    /**
     * 
     */
    public String getSupplier_code() {
        return supplier_code;
    }

    /**
     * 
     */
    public void setSupplier_code(String supplier_code) {
        this.supplier_code = supplier_code;
    }

    /**
     * 
     */
    public String getInquiry_supplier() {
        return inquiry_supplier;
    }

    /**
     * 
     */
    public void setInquiry_supplier(String inquiry_supplier) {
        this.inquiry_supplier = inquiry_supplier;
    }

    /**
     * 
     */
    public Date getInquiry_startDate() {
        return inquiry_startDate;
    }

    /**
     * 
     */
    public void setInquiry_startDate(Date inquiry_startDate) {
        this.inquiry_startDate = inquiry_startDate;
    }

    /**
     * 
     */
    public Date getInquiry_deadline() {
        return inquiry_deadline;
    }

    /**
     * 
     */
    public void setInquiry_deadline(Date inquiry_deadline) {
        this.inquiry_deadline = inquiry_deadline;
    }

    /**
     * 
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 
     */
    public String getCompanyCode() {
        return companyCode;
    }

    /**
     * 
     */
    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    /**
     * 
     */
    public Integer getIsDelete() {
        return isDelete;
    }

    /**
     * 
     */
    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public List<ProcurementInquiryDetail> getInquiryDetailList() {
        return inquiryDetailList;
    }

    public void setInquiryDetailList(List<ProcurementInquiryDetail> inquiryDetailList) {
        this.inquiryDetailList = inquiryDetailList;
    }

    public Integer getInquiry_status() {
        return inquiry_status;
    }

    public void setInquiry_status(Integer inquiry_status) {
        this.inquiry_status = inquiry_status;
    }

    public String getCheckMan() {
        return checkMan;
    }

    public void setCheckMan(String checkMan) {
        this.checkMan = checkMan;
    }

    public String getGateWay() {
        return gateWay;
    }

    public void setGateWay(String gateWay) {
        this.gateWay = gateWay;
    }

    public Integer getDate_status() {
        return date_status;
    }

    public void setDate_status(Integer date_status) {
        this.date_status = date_status;
    }

    public Integer getPrintNum() {
        return printNum;
    }

    public void setPrintNum(Integer printNum) {
        this.printNum = printNum;
    }
}